package com.mhc.suzuki.vo.snapshot;

import com.mhc.suzuki.util.HistoryAlias;
import com.mhc.suzuki.util.HistoryId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LoanInfoSnapshotVO {

    /**
     * 订单号
     * pcl_loan_info.order_no
     */
    @HistoryId(alias = "订单号")
    private String orderNo;

    /**
     * 业务类型编号，对应数据字典
     * pcl_loan_info.biz_type_id
     */
    @HistoryAlias(alias = "业务类型编号")
    private Long bizTypeId;

    /**
     * 业务类型名
     * <p>
     * pcl_loan_info.biz_type_name
     */
    @HistoryAlias(alias = "业务类型名")
    private String bizTypeName;

    /**
     * 贷款银行ID，对应数据字典中银行ID
     * pcl_loan_info.bank_id
     */

    @HistoryAlias(alias = "贷款银行ID")
    private Long bankId;

    /**
     * 贷款期限
     * <p>
     * pcl_loan_info.period
     */
    @HistoryAlias(alias = "贷款期限")
    private Integer period;

    /**
     * 开票价
     * <p>
     * pcl_loan_info.billing_amount
     */
    @HistoryAlias(alias = "开票价")
    private java.math.BigDecimal billingAmount;

    /**
     * 公司费率
     * <p>
     * pcl_loan_info.company_charge_rate
     */
    @HistoryAlias(alias = "公司费率")
    private java.math.BigDecimal companyChargeRate;

    /**
     * 执行费率
     * <p>
     * pcl_loan_info.execution_rate
     */
    @HistoryAlias(alias = "执行费率")
    private java.math.BigDecimal executionRate;

    /**
     * 贷款额度
     * <p>
     * pcl_loan_info.loan_amount
     */
    @HistoryAlias(alias = "贷款额度")
    private java.math.BigDecimal loanAmount;

    /**
     * 首付额
     * <p>
     * pcl_loan_info.down_payment
     */
    @HistoryAlias(alias = "首付额")
    private java.math.BigDecimal downPayment;

    /**
     * 首付比例
     * <p>
     * pcl_loan_info.down_payment_rate
     */
    @HistoryAlias(alias = "首付比例")
    private java.math.BigDecimal downPaymentRate;

    /**
     * 贷款比例
     * <p>
     * pcl_loan_info.loan_rate
     */
    @HistoryAlias(alias = "贷款比例")
    private java.math.BigDecimal loanRate;

    /**
     * 月还款额
     * pcl_loan_info.monthly_payment
     */
    @HistoryAlias(alias = "月还款额")
    private java.math.BigDecimal monthlyPayment;

    /**
     * 银行放款日期
     * pcl_loan_info.bank_loan_date
     */
    @HistoryAlias(alias = "银行放款日期")
    private LocalDateTime bankLoanDate;

    /**
     * 放款金额
     * pcl_loan_info.bank_loan_amount
     */
    @HistoryAlias(alias = "放款金额")
    private java.math.BigDecimal bankLoanAmount;

    /**
     * 实际垫资金额（也即更改垫资金额）
     * pcl_loan_info.actual_loaning_amount
     */
    @HistoryAlias(alias = "实际垫资金额")
    private java.math.BigDecimal actualLoaningAmount;

    /**
     * 维护贷款信息的员工ID
     * pcl_loan_info.staff_id
     */
    @HistoryAlias(alias = "维护贷款信息的员工ID")
    private Long staffId;

    /**
     * 备注
     * pcl_loan_info.remark
     */
    @HistoryAlias(alias = "备注")
    private String remark;

    /**
     * 是否已删除：0 正常，1 已删除
     * pcl_loan_info.is_deleted
     */
    @HistoryAlias(alias = "是否已删除")
    private Integer isDeleted;


}